﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace carApp
{
    public class ReportEx
    {
        public static void upPortEX(string errmsg)
        {
            Thread t = new Thread(() =>
            {
                try
                {
                    Dictionary<string, string> dic = new Dictionary<string, string>();
                    dic.Add("msg", errmsg);
                    dic.Add("sn", AppConfig.ClientCode);
                    dic.Add("ip", Libs.Utils.getIP());
                    var res = Libs.HttpHelper.HttpPost_dic(AppConfig.server_url + "/clound/prints/reportEx", dic);
                }
                catch { }
            });
            t.Start();
        }
    }
}
